<%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 2020/8/22
  Time: 8:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>
<div id="vue_body">
    <!-- 顶部   -->
        <div class="header">
            <div class="width_1200 clearfix">
                <div class="header_right right_f">
                    你好
                    <div class="item uname" v-if="user"><c:if test="${sessionScope.user==null}"><a href="login.jsp">请登录</a></c:if>
                        <c:if test="${sessionScope.user!=null}"><a href="homePage.jsp">,${sessionScope.user.userName}!</a></c:if></div>
                    <div class="item">欢迎来到i学习！</div>
                    <div class="item login" ></div>
                    <div class="item login"></div>
                    <div class="item" ><a href="registration.jsp">[注册]</a></div>
                    <c:if test="${sessionScope.user!=null}"><div class="item" onclick="exitLogin()">[退出]</div></c:if></div>
                    <div class="item service">客服中心</div>
                </div>
            </div>
        </div>

</div>
<script src="<%=path%>/static/js/head.js"></script>
<script src="<%=path%>/static/js/path.js"></script>